import request from '@/utils/request'

const role_link = "/api/captcha";

export function pullCaptcha(){
    return request({
        url:  `${role_link}/pullCaptcha`,
        method:"get",
        data:""
    })
}

export function checkCaptcha(data){
    return request({
        url: `${role_link}/checkCaptcha`,
        method:"post",
        data:data
    })
}